Component org.nuxeo.ecm.core.opencmis.json.config
In bundle org.nuxeo.ecm.core.opencmis.bindings
Contributions
- org.nuxeo.ecm.core.opencmis.json.config--specificChains
- org.nuxeo.ecm.core.opencmis.json.config--filterConfig
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.opencmis.json.config">
<!-- the /json/cmis part is defined in the servlet mapping in deployment-fragment.xml -->
<extension
target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
point="filterConfig">
<filterConfig name="cmis-json" transactional="true">
<pattern>${org.nuxeo.ecm.contextPath}/json/cmis(/.*)?</pattern>
</filterConfig>
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="specificChains">
<specificAuthenticationChain name="JSON_CMIS">
<urlPatterns>
<url>(.*)/json/cmis(/.*)?</url>
</urlPatterns>
<replacementChain>
<plugin>AUTOMATION_BASIC_AUTH</plugin>
<plugin>TOKEN_AUTH</plugin>
</replacementChain>
</specificAuthenticationChain>
</extension>
</component>